package com.lintf.wxpay.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lintf.business.entity.OrderInfo;
import com.lintf.wxpay.base.WxChatPayDto;
import com.lintf.wxpay.base.enums.WxPayType;

import java.util.List;

/**
 * @author lintf
 * @description 针对表【order_info】的数据库操作Service
 * @createDate 2024-11-21 14:20:27
 */
public interface OrderInfoService extends IService<OrderInfo> {

    OrderInfo createOrder(WxChatPayDto dto, WxPayType wxPayType);

    List<OrderInfo> getNoPayOrderByDuration(int minutes);
}
